<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--表格写边框-->
<!--cellspacing设置单元格距离-->
<table border="1px" align="center" width="50%" cellspacing="0px">
    <!--行-->
    <tr>
        <!--单元格-->
        <th >姓名</th>
        <th>性别</th>
        <th>年龄</th>
        <th>数学</th>
        <th>语文</th>
    </tr>
    <tr>
        <!--单元格-->
        <td align="center">张三</td>
        <td rowspan="2">男</td>
        <td>23</td>
        <td>90</td>
        <td>98</td>
    </tr>
    <tr>
        <!--单元格-->
        <td>路飞</td>
        <td>23</td>
        <td>100</td>
        <td>100</td>
    </tr>
</table>
</body>
</html>